package com.zatech.cgnci.project.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 审批流程节点规则配置表
 * </p>
 *
 * @author Generator
 * @since 2024-12-17
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("cgnci_approval_config")
@ApiModel(value = "CgnciApprovalConfigDO对象", description = "审批流程节点规则配置表")
public class CgnciApprovalConfigDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("approval_config_id")
    @TableId(value = "approval_config_id", type = IdType.ASSIGN_ID)
    private Long approvalConfigId;

    @ApiModelProperty("工作台类型(1-个人工作台,2-其他)")
    private Integer groupType;

    @ApiModelProperty("分组[标识那些节点是同一个组的]")
    private String groupId;

    @ApiModelProperty("审批节点[取值：1~N 从小到大；0：发起节点 、1：是第一个节点、 2：第二个节点 N：是第N个节点；最大的是结束节点]")
    private Integer approvalNode;

    @ApiModelProperty("当前处理人节点")
    private String currentApproverNode;

   /* @ApiModelProperty("当前处理人名字")
    private String currentApproverName;

    @ApiModelProperty("当前处理人工号")
    private String currentApprover;*/

    @ApiModelProperty("任务类型")
    private String taskType;

    @ApiModelProperty("任务类型编码")
    private String taskTypeCode;

    @ApiModelProperty("流程名称")
    private String processName;

    @ApiModelProperty("当前阶段正向流转所属状态")
    private String forwardStatus;

    @ApiModelProperty("当前阶段正向流转所属状态描述")
    private String forwardStatusDesc;

    @ApiModelProperty("当前阶段退回流转所属状态")
    private String backStatus;

    @ApiModelProperty("当前阶段退回流转所属状态描述")
    private String backStatusDesc;

    @ApiModelProperty("最后阶段所属状态")
    private String endStatus;

    @ApiModelProperty("最后阶段所属状态描述")
    private String endStatusDesc;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("创建人员工号")
    private String createUser;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("更新人员工号")
    private String updateUser;


}
